{include /common/header}
<div style="text-align: center;">
	<h1 style="margin-bottom: 40px;">登陆后台</h1>
	<form action="{:\mylib\Route::buildUrl('/admin/auth/login')}" method="POST" class="form-inline">

		<div class="form-group">
			<label class="sr-only">账户</label>
			<input type="text" class="form-control" style="width: 130px;" name="account" autocomplete="off" placeholder="账户" required>
		</div>

		<div class="form-group">
			<label class="sr-only">密码</label>
			<input type="password" class="form-control" style="width: 130px;" name="password" autocomplete="off" placeholder="密码" required>
		</div>

		<div class="form-group">
			<label class="sr-only">验证码</label>
			<input type="text" class="form-control" style="width: 70px;" name="captcha" autocomplete="off" placeholder="验证码" required>
		</div>
		
		<img src="{:\mylib\Route::buildUrl('/admin/auth/captcha')}" alt="点击更换" style="vertical-align: middle;cursor: pointer;" onclick="this.src = '{:\mylib\Route::buildUrl('/admin/auth/captcha')}?time=' + (new Date()).getTime();">
		
		<button type="submit" class="btn btn-primary">登录</button>
	</form>
	<p style="color: red;font-weight: bolder;">{$notice?:''}</p>
</div>

<div style="margin-top: 30px;font-size: .8em;color: gray;padding: 10px 0;text-align: center;">Power By <a href="http://www.ebcms.com/" target="_blank">EBCMS</a> V1.0.0</div>

</div>
</body>
</html>